<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.reference {
				border-style: solid;
				border-width: 1px;
			}
			
			/* 后代选择器 */
			thead tr {
				color: red;
			}
			/* odd：奇数 */
			tr:nth-of-type(odd) {
				background-color: #00FFFF;
			}
			/* even：偶数 */
			tr:nth-of-type(even) {
				background-color: red;
			}
			
			thead {
				background-color: #555555;
			}
			
			.reference, tr, td, th {
				border-style: solid;
				border-width: 1px;
			}
		</style>
	</head>
	<body>
		<div >
			<p>是</p>
		</div>
		<!-- Ctrl + Shift + F：格式化代码 -->
		<table class="reference" cellspacing="0">
			<thead>
				<tr style="background-color: #555555;">
					<th>Company</th>
					<th>Contact</th>
					<th>Country</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>Alfreds Futterkiste</td>
					<td>Maria Anders</td>
					<td>Germany</td>
				</tr>
				<tr class="alt">
					<td>Berglunds snabbköp</td>
					<td>Christina Berglund</td>
					<td>Sweden</td>
				</tr>
				<tr>
					<td>Centro comercial Moctezuma</td>
					<td>Francisco Chang</td>
					<td>Mexico</td>
				</tr>
				<tr class="alt">
					<td>Ernst Handel</td>
					<td>Roland Mendel</td>
					<td>Austria</td>
				</tr>
				<tr>
					<td>Island Trading</td>
					<td>Helen Bennett</td>
					<td>UK</td>
				</tr>
				<tr class="alt">
					<td>Königlich Essen</td>
					<td>Philip Cramer</td>
					<td>Germany</td>
				</tr>
				<tr>
					<td>Laughing Bacchus Winecellars</td>
					<td>Yoshi Tannamuri</td>
					<td>Canada</td>
				</tr>
				<tr class="alt">
					<td>Magazzini Alimentari Riuniti</td>
					<td>Giovanni Rovelli</td>
					<td>Italy</td>
				</tr>
				<tr>
					<td>North/South</td>
					<td>Simon Crowther</td>
					<td>UK</td>
				</tr>
				<tr class="alt">
					<td>Paris spécialités</td>
					<td>Marie Bertrand</td>
					<td>France</td>
				</tr>
				<tr>
					<td>The Big Cheese</td>
					<td>Liz Nixon</td>
					<td>USA</td>
				</tr>
				<tr class="alt">
					<td>Vaffeljernet</td>
					<td>Palle Ibsen</td>
					<td>Denmark</td>
				</tr>
			</tbody>
		</table>
	</body>
</html>
